package com.xc.sbdemo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HiController {

    @ResponseBody
    @GetMapping("/hi")
    public String hi(){
        int num = 1/0;
        return "hi sb";
    }
}
